From 5c1170207479d20306b3d689185bd7d6d70dfcc0 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 2 Sep 2010 13:30:26 +0100 Subject: [PATCH] hvm_op: Remove use of uint64_aligned_t from guest header file. Manually pad to the required alignment instead. Signed-off-by: Keir Fraser --- xen/include/public/hvm/hvm_op.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/include/public/hvm/hvm_op.h b/xen/include/public/hvm/hvm_op.h index 689521bfd9..d93dd6b836 100644 --- a/xen/include/public/hvm/hvm_op.h +++ b/xen/include/public/hvm/hvm_op.h @@ -135,8 +135,9 @@ DEFINE_XEN_GUEST_HANDLE(xen_hvm_set_mem_type_t); struct xen_hvm_pagetable_dying { /* Domain with a pagetable about to be destroyed. */ domid_t domid; + uint16_t pad[3]; /* align next field on 8-byte boundary */ /* guest physical address of the toplevel pagetable dying */ - uint64_aligned_t gpa; + uint64_t gpa; }; typedef struct xen_hvm_pagetable_dying xen_hvm_pagetable_dying_t; DEFINE_XEN_GUEST_HANDLE(xen_hvm_pagetable_dying_t); -- 2.30.2